#ifndef mcu_dda_modbus_driver_h
#define mcu_dda_modbus_driver_h

#include "cxthread.h"
#include "mcu_modbus_slaver.h"



class McuDdaModBusDriver :public CxThread {
public:
	McuModbusSlaver* m_modbusSlaver;
	McuCommDriver* m_commDriver;
	CxReturn* m_comDriverListen;
public:
	McuDdaModBusDriver(int uart_id, BYTE slaveAddr, DWORD baudrate,BOOL is485,BOOL isLeader,WORD teamCount);
	virtual  ~McuDdaModBusDriver();
	virtual	void Run(void);
	void   Close();
};

#endif

